package com.mrzhou.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mrzhou.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("cloud_menu")
public class Menu extends BaseEntity {

    @ApiModelProperty("父级菜单id")
    private Long parentId;

    @ApiModelProperty("菜单编号")
    private String menuCode;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("菜单标识; menu(菜单), add(添加), edit(修改)等")
    private String perms;

    @ApiModelProperty("资源路径")
    private String path;

    @ApiModelProperty("组件路径")
    private String component;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @ApiModelProperty("是否打开新页面, 0 打开(外链), 1不打开")
    private String isOpen;

    @ApiModelProperty("备注")
    private String remark;


}
